import {get} from '@/request'

export async function _login(data,callback,handle) {
    const path = 'login'
    await get(path, data).then(callback).catch(handle)
}

export async function _test(data,callback,handle) {
    const path = 'test'
    await get(path, data).then(callback).catch(handle)
}